<?php

/**
 * This is the model class for table "website".
 *
 * The followings are the available columns in table 'website':
 * @property integer $id ID
 * @property integer $worker_id 所属用户
 * @property string $name 网站名称
 * @property integer $is_open 是否开通网站
 * @property string $thumb 缩略图
 * @property string $logo 网站Logo
 * @property string $template 网站模板
 * @property string $host 域名
 * @property string $status 状态
 * @property string $desc Desc
 */
class Website extends ActiveRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @return Website the static model class
	 */
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	
	public function getMdcClass() {
		return 'application.models.metadata.WebsiteMetadata';
	}
}